/*
 * For com.royal.art
 * Copyright [2015/11/23] By FCHEN
 */
package com.commons.exception;

import com.commons.exception.msg.SmsErrorMsg;

/**
 * SmsException
 *
 * @author FCHEN
 * @date 2015/11/23
 */
public class SmsException extends AbstractException {


    private static final long serialVersionUID = -3999463655370951183L;

    public SmsException(int code, String msg) {
        super(code, msg);
    }

    public SmsException(SmsErrorMsg errorMsg) {
        super(errorMsg.getCode(), errorMsg.getMsg());
    }

}
